.padding10 {
    padding: 10px;
}

.pointer{
    cursor: pointer;
}

ul.nav-left {
    li>a {
        &:before {
            margin-right: 10px;
        }
    }
    li {
        dd {
            a {
                padding-left: 45px !important;
            }
        }
    }
}

.layui-tab {
    height: 100%;
    padding-bottom: 45px;
    li#tab-home {
        min-width: 40px;
        width: 40px;
    }
    .layui-tab-title {
        li {
            .layui-tab-close {
                border-radius: 50%;
                &:hover {
                    border-radius: 50%;
                }
            }
            &:hover {
                background-color: #fff;
            }
        }
        #tab-home {
            .layui-tab-close {
                display: none;
            }
        }
    }
}

.layui-body {
    border-bottom: 1px solid #fff;
    box-sizing: border-box;
    overflow-y: hidden;
    div {
        box-sizing: border-box;
    }
}

.layui-footer {
    overflow: hidden;
}

#main-content {
    padding: 20px;

    height: 100%;
    overflow-y: auto;
    &>div {
        height: 100%;
    }
    .layadmin-carousel {
        div[carousel-item] {
            height: 185px;
            background-color: #fff;
        }
    }
    .layui-carousel-ind {
        position: absolute;
        top: -40px;
        text-align: right;
        ul {
            background-color: #fff;
            li {
                background-color: #e2e2e2;
            }
        }
    }
    .layui-carousel-ind li.layui-this {
        background-color: #999;
    }
    .layadmin-carousel#carousel1 {
        ul.layui-row {
            width: 100%;
            height: 100%;
            margin: 0;
            background-color: #fff;
            li {
                text-align: center;
                a {
                    color: #333;
                    text-decoration: none;
                    i {
                        display: block;
                        border-radius: 2px;
                        height: 60px;
                        font-size: 30px;
                        line-height: 60px;
                        background-color: #F8F8F8;
                        color: #333;
                        transition: all .3s;
                        -webkit-transition: all .3s;
                    }
                    span {
                        display: block;
                        color: #666;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        white-space: nowrap;
                        font-size: 14px;
                    }
                    &:hover {
                        i {
                            background-color: #f2f2f2;
                        }
                    }
                }
            }
        }
    }
    #carousel2 {
        ul.layui-row {
            width: 100%;
            height: 100%;
            background-color: #fff;
            margin: 0;
            li {
                height: 50%;
                a {
                    display: block;
                    box-sizing: border-box;
                    border-radius: 2px;
                    height: 100%;
                    width: 100%;
                    padding: 10px 15px;
                    text-decoration: none;
                    background-color: #F8F8F8;
                    color: #333;
                    transition: all .3s;
                    -webkit-transition: all .3s;
                    &:hover {
                        background-color: #f2f2f2;
                    }
                }
                h3 {
                    padding-bottom: 10px;
                    font-size: 12px;
                }
                p {
                    font-style: normal;
                    font-size: 30px;
                    font-weight: 300;
                    color: #009688;
                }
            }
        }
    }
    #carousel3 {
        div[carousel-item] {}
        .layui-table {
            background-color: #fff;
            tbody {
                width: 100%;
                height: 100%;
                tr {
                    width: 100%;
                }
            }
        }
    }
    #carousel4 {
        div[carousel-item] {
            height: 400px;
            div {
                background-color: #fff;
            }
        }
    }
    .body-content{
        min-height: 90%;
        margin-bottom: 60px;
    }
}

.layui-layout-body .layui-body .layui-footer {
    height: 45px;
    line-height: 45px;
}

.layui-card {
    &#report {
        .layui-progress:first-of-type {
            margin: 50px 0 60px;
        }
        .layui-progress-bar {
            text-align: left;
            .layui-progress-text {
                top: -35px;
                line-height: 26px;
                font-size: 26px;
            }
        }
        .layui-progress {
            h3 {
                position: absolute;
                right: 0;
                top: -35px;
                color: #999;
                font-size: 14px;
            }
        }
    }
    &#monitor {
        .layui-progress:first-of-type {
            margin: 50px 0 60px;
        }
        .layui-progress-bar {
            text-align: left;
            .layui-progress-text {
                top: -35px;
                line-height: 26px;
                font-size: 26px;
            }
        }
        .layui-progress {
            h3 {
                position: absolute;
                right: 0;
                top: -35px;
                color: #999;
                font-size: 14px;
            }
        }
    }
}